﻿using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;

namespace AccessCompare.Entities
{
    /// <summary>
    /// Class representing Access Table Column
    /// </summary>
    public class Column
    {
        #region PUBLIC PROPERTIES

        /// <summary>
        /// Gets or sets the Name of the column
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the OleDbType of the column
        /// </summary>
        public OleDbType ColumnType { get; set; }

        /// <summary>
        /// Gets or sets the Status of the column
        /// </summary>
        public Status ColumnStatus { get; set; }

        #endregion

        #region CONSTRUCTOR

        public Column()
        {

        }

        public Column(string columnName, OleDbType columnType)
        {
            Name = columnName;
            ColumnType = columnType;
        }

        #endregion
    }
}
